package com.project.estate.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.estate.commons.bean.Activity;
import com.project.estate.commons.config.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ActivityService extends IService<Activity> {
    //添加操作
    JsonResult addActivity(Activity activity);

    //删除操作
    JsonResult deleteActivity(String  comId);

    //修改操作
    JsonResult updateActivity(Activity activity, String comId);

    //查询操作
    JsonResult findActivity(String comId);

    //全查询
    JsonResult findAllActivity();

}
